package com.postracker.postracker.io.txt;

import com.postracker.postracker.io.ListOfRows;

public final class TxtFileFactory {

	private static final TxtFileFactory INSTANCE = new TxtFileFactory();

	private TxtFileFactory() {
		// Limiting the scope
	}

	public static TxtFileFactory getInstance() {
		return INSTANCE;
	}

	public ListOfRows createStmtsFile(String filePath) {
		TextRowFileDecorator rowFile = new TextRowFileDecorator(filePath);
		return new StatementsFile(rowFile);
	}

}
